home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / UTIL / SimpleWrite II 1.0.4.sit / SimpleWrite II 1.0.4 / SimpleWrite II / stack_-1.xml < prev    next >
Extensible Markup Language  |  1996-08-27  |  19KB  |  20 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE stack PUBLIC "-//Apple, Inc.//DTD stack V 2.0//EN" "" >
  3. <stack>
  4.     <name>in</name>
  5.     <id>-1</id>
  6.     <cardCount>1</cardCount>
  7.     <cardID>3011</cardID>
  8.     <listID>3816</listID>
  9.     <cantModify><false /></cantModify>
  10.     <cantDelete><false /></cantDelete>
  11.     <cantAbort><false /></cantAbort>
  12.     <cardSize>
  13.         <width>512</width>
  14.         <height>342</height>
  15.     </cardSize>
  16.     <script>===============================The script of SimpleWrite IICreated by ヒ1996 Akio Tsunekawa===============================-- Stack Scripts --on openStackglobal SWIIstartup,QuitCheck,FRM-- テ頴テ…[テ姥テ嘉。テ嘉ャテ⑥テ嘉…テ嘉‡テ嘉、テ‡テε荏テ宇テ叡テ丑テ‡ï」ソテァsテ‡ツ「テ②テ嘉…テ泳テ嘉姪…[テ‡ï」ソテァテ湘ェツィテ‡竏妥‡テˆset cursor to watchcheckErrorscheckMemorycheckVersionscreateMenuif "2.3" > the version then set enabled of menuItem "テャツォテ‡窶コティ窶榲‡竏ž..." of menu "竏ォナ凪\コニ抵ャ" to falseput empty into QuitCheckput empty into FRMif SWIIstartup is empty then answer "    □ SimpleWrite II   < The text editor stack >" & return & return & ツャ"    Created by ヒ1996 AkioTsunekawa" & return & "    All rights reserved worldwide." & return & return & ツャ"    This stack is freeware."put "notEmpty!!!" into SWIIstartupif the rect of fld "Text" is "22,14,512,342"then set checkMark of menuItem "テ嘉」テ…[テ嘉「テ…[テ⑥テァsテョ窶佚ァテ愿‡テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" to trueset cursor to watchend openStackon closeStack-- テ厩テ運テ叡テ丑テ‡ï」ソテッツャテ‡竏づ‡テ暗‡竏†テ‡ツエテ‡テεィテ„テョトアテ⑥テッKテウvテ‡ツサテ‡テテ厩テ運テ叡テ丑テェテ†テウテケテ‡竏妥‡テˆglobal EditSaveFilename,QuitChecklock screendeleteRMif QuitCheck is not true thenresetMenusif fld "Text" is not empty thenbeepanswer "テ・ツェテァ窶コテ‡テεッ竏づィテォテ‡ï」ソテ テ催ゥテサテッ竄ャテォ竏づ‡ツオテ‡ニ津‡ツョテ‡ツエテ‡窶ケテ‡竏妥‡ツゥ?" with "テッ竄ャテォ竏づ‡ツオテ‡ツサテ‡ツ「","テッ竄ャテォ竏‚"if it is not "テッ竄ャテォ竏‚" then put empty into fld "Text"if it is not "テッ竄ャテォ竏‚" then put empty into EditSaveFilenameend ifset cursor to watchcompactingStackif the enabled of menuItem "Close Stack" of menu "File" is true thenset name of this stack to "SimpleWrite"lock messagesdoMenu "Close Stack"unlock messagesexit closeStackend if-- テ厩テ運テ叡テ丑テアツコテ‡ï」ソテッナ禿ァXテ‡竏妥‡テ暗‡竏†テ厩テ運テ叡テ丑テ‡テε 竅„テャテ†テ‡邃「テゥ~テ‡窶ケテ‡ツ。テ‡ニ津‡ツオテ‡窶ケテ‡ツァテ‡ホゥテ‡ïャづ②-- テァsテ‡ツエテェテ甘‡テε厩テ運テ叡テ丑テアツコテ‡ï」ソテッ窶佚‡竏妥、テキテェテョテ…udestinationテ…vテ‡ï」ソテゥgテ‡ツ。テ‡ニ津 竅„テャテ†テ‡ツオテ‡ツサテ‡ツョテ‡竏‘setname the destinationend ifend closeStackon resumeStack-- テ嘉…テ泳テ嘉姪…[テ瓜テ叡テ影テ隠テ嘉ャテ碓set enabled of menu "竏ォナ凪\コニ抵ャ" to trueset cmdChar of menuItem "テ テ崚ァツク..." of menu "竏ォナ凪\コニ抵ャ" to "P"set cmdChar of menuItem "テャツォテ‡窶コティ窶榲‡竏ž..." of menu "竏ォナ凪\コニ抵ャ" to "E"set cmdChar of menuItem "Scroll" of menu "Go" to emptyset cmdChar of menuItem "Print Card" of menu "File" to emptyset cmdChar of menuItem "Find..." of menu "Go" to emptyset cmdChar of menuItem "Recent" of menu "Go" to emptyset cmdChar of menuItem "Open Stack..." of menu "File" to emptyset cmdChar of menuItem "テ・テシテァトア..." of menu "竏ォナ凪\コニ抵ャ" to "F"set cmdChar of menuItem "テュuテ‡ツエテ、竏妥‡ツカ..." of menu "竏ォナ凪\コニ抵ャ" to "R"set cmdChar of menuItem "テッ竄ャテォ竏‚..." of menu "竏ォナ凪\コニ抵ャ" to "S"set cmdChar of menuItem "テ、Jテ‡竕 ..." of menu "竏ォナ凪\コニ抵ャ" to "O"end resumeStackon suspendStack-- テ嘉…テ泳テ嘉姪…[テ‡テε嘉、テ瓜テ叡テ曳テ⑴テッsテゥgテウpテ「ツェset enabled of menu "竏ォナ凪\コニ抵ャ" to falseset cmdChar of menuItem "Recent" of menu "Go" to "R"set cmdChar of menuItem "Scroll" of menu "Go" to "E"set cmdChar of menuItem "Find..." of menu "Go" to "F"set cmdChar of menuItem "Open Stack..." of menu "File" to "O"set cmdChar of menuItem "Print Card" of menu "File" to "P"end suspendStackon openCardif fld "Text" is empty then set name of this card to empty-- テ液テ隠テ…[テ嘉」テ栄テ‡邃「テ」テ崚‡テヲテ‡ツ。テ‡ホゥテ‡テテ雨テ…[テ栄テアツコテ⑿テ・窶榲‡テε運テ韻テ曳テ嘉」テ頴テ…[テ‡テεアツコテォOテ⒀テ‡ï」ソテ」テ崚‡窶ヲテ‡竏妥‡テˆif the number of chars of the short name of this card > 15 then-- テ‡窶。テ‡ツオテ雨テ…[テ栄テアツコテ‡テεッ竏づゥテカテェテョテ‡邃「15テ ツサティ窶榲‡ツサテ‡テテ⑿テ厩テ運テ叡テ丑テ‡テεアツコテォOテ‡テεュ竏妥‡竕・テ‡窶ヲテェテ淌・ツソテ‡邃「テ‡窶 テ‡テ暗‡ホゥテ‡ïャづ⒀テュZテ‡竕 テ‡竏妥‡テˆput char 1 to 13 of the short name of this card & "..." into xxxxxelseput empty into xxxxxend ifif char 1 to 4 of the short name of this card is "card" then-- テ雨テ…[テ栄テアツコテ‡邃「テ」テ崚‡テヲテ‡ツ。テ‡ホゥテ‡テテ運テ韻テ曳テ嘉」テ頴テ…[テ⑿テ厩テ運テ叡テ丑テ⒀テ‡テεアツコテォOテ‡ï」ソテ…uテアツコティテεアツ「テェ窶コテュテ凝…vテ‡窶ヲテ‡竏妥‡テˆset name of this stack to " テアツコティテεアツ「テェ窶コテュテ‹ "else-- SimpleWriteテ‡テε液テ羽テ嘉」テ雲テ‡窶ヲテ‡窶 テ‡テ暗液テ院テ韻テ嘉」テ‡ï」ソテ、Jテ‡竕 テ‡竏†テ‡ツエテ②テャテ佚‡竏づアツコテォOテ‡窶ヲテ‡ツオテ‡テ甘‡ツァテ‡竏†テ‡竏妥‡テ暗‡竏†テ烏テ嘉「テ…[テ‡窶ヲテ‡ツサテ‡テ暗‡テε‡竕暗②-- テァ竕暗ィテ「テ‡竏†テァ竕暗・窶榲‡窶ヲテョツコテ、pテ厩テ謁テ…[テ厩テ‡ï」ソテャツクテ‡テ催‡テˆif xxxxx is empty thenset name of this stack to empty && (the short name of this card) && emptyelse-- テ液テ院テ韻テ嘉」テアツコテ‡邃「テュZテ‡竕 テ‡竕・テ‡テ催‡ニ津‡ツ「テ‡ホゥテ‡テテ②テッナ禿ェテョテ…uxxxxxテ…vテ‡ï」ソテ厩テ運テ叡テ丑テアツコテ‡窶ヲテ‡竏妥‡テˆset name of this stack to empty && xxxxx && emptyend ifend ifselect char (the number of chars of fld "Text" + 1) of fld "Text"send mouseWithIn to fld "Text"select char (the number of chars of fld "Text" + 1) of fld "Text"-- テッ竏づゥテカテェテョ+テ㈲テッ竏づゥテカテア竅„テ‡ï」ソテォIテォï」ソテ‡竏妥‡テ暗‡竏†テ②テ液テ隠テ…[テ嘉」テ栄テ‡テεァ竕暗・窶榲‡窶ヲテ鵜テ嘉嘉嘉・テ叡テ曳テ‡邃「テ 竅„テ‡テˆend openCard-- Menu Scripts --on resetMenus-- テ嘉…テ泳テ嘉姪…[テアツコテ‡竏†テ鰻テ嘉。テ…[テ曳テ雨テ叡テ曳テ鵜テ…[テ‡ï」ソティテ「テ、ヒ凖ィテ崚ォ窶佚‡窶ヲテ‡窶。テ‡ツォテ‡竏‘-- テ…ureset menuBarテ…vテ‡竕暗‡テ陛ゥテサテ、窶佚‡邃「テ‡ツゥテ‡ツゥテ‡テ凝‡竏妥‡ツィテ‡テ暗‡ホゥテ‡ïャづ②テゥテ凝ャテ†テ‡竕暗ァsテ‡ツァdelete menu "竏ォナ凪\コニ抵ャ"set cmdChar of menuItem "Recent" of menu "Go" to "R"set cmdChar of menuItem "Scroll" of menu "Go" to "E"set cmdChar of menuItem "Find..." of menu "Go" to "F"set cmdChar of menuItem "Open Stack..." of menu "File" to "O"set cmdChar of menuItem "Print Card" of menu "File" to "P"end resetMenuson createMenu-- テ‡ツアテ‡ツアテ‡竕暗‡テ陛②テ嘉…テ泳テ嘉姪…[テ‡テεァテ湘ェツィテ⑥テ鰻テ嘉。テ…[テ曳テ雨テ叡テ曳テ鵜テ…[テ、テ妥‡テ凝ャテアテ‡ニ津ャテエテ‡ï」ソテァsテ‡ツァcreate menu "竏ォナ凪\コニ抵ャ"put "テ・テシテァトア...,テュuテ‡ツエテ、竏妥‡ツカ...,-,テッ竄ャテォ竏‚...,テ、Jテ‡竕 ...,テ テ崚ァツク...,PICTテ液テ院テ韻テ嘉」テ‡ï」ソテ、Jテ‡竕 ...,-,テャヒ凖ッtテ‡ï」ソテャツクテウテ•,テゥテサテァティテ‡ï」ソテャツクテウテ•,テャツォテ‡窶コティ窶榲‡竏ž...,-,テ「ツクテァsテッ竏づゥテカテ‡テεッ¥テゥツカ,テ嘉」テ…[テ嘉「テ…[テ⑥テァsテョ窶佚ァテ愿‡テεッ¥テゥツカ" into menu "竏ォナ凪\コニ抵ャ" ツャwith menuMsg "FI,PRE,,SF,OF,Printing,openPICT,,TD,TT,Speaking,,showRM,showRulerLines"set cmdChar of menuItem "テ テ崚ァツク..." of menu "竏ォナ凪\コニ抵ャ" to "P"set cmdChar of menuItem "テャツォテ‡窶コティ窶榲‡竏ž..." of menu "竏ォナ凪\コニ抵ャ" to "E"set cmdChar of menuItem "Scroll" of menu "Go" to emptyset cmdChar of menuItem "Print Card" of menu "File" to emptyset cmdChar of menuItem "Find..." of menu "Go" to emptyset cmdChar of menuItem "Recent" of menu "Go" to emptyset cmdChar of menuItem "Open Stack..." of menu "File" to emptyset cmdChar of menuItem "テ・テシテァトア..." of menu "竏ォナ凪\コニ抵ャ" to "F"set cmdChar of menuItem "テュuテ‡ツエテ、竏妥‡ツカ..." of menu "竏ォナ凪\コニ抵ャ" to "R"set cmdChar of menuItem "テッ竄ャテォ竏‚..." of menu "竏ォナ凪\コニ抵ャ" to "S"set cmdChar of menuItem "テ、Jテ‡竕 ..." of menu "竏ォナ凪\コニ抵ャ" to "O"end createMenuon showRM-- テ「ツクテァsテッ竏づゥテカテ‡ï」ソテッ¥テゥツカテ‡ツオテ‡ホゥテ‡テ凝ィツ。テ‡ツオテ‡ホゥテ‡テ凝‡竏妥‡テ暗穎テ嘉ャテ栄テ嘉「global FRMset cursor to watchlock screenset checkMark of menuItem "テ「ツクテァsテッ竏づゥテカテ‡テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" to not the checkMark of menuItem "テ「ツクテァsテッ竏づゥテカテ‡テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ"if the checkMark of menuItem "テ「ツクテァsテッ竏づゥテカテ‡テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" is true thenaddRMput true into FRMelsedeleteRMput empty into FRMend ifunlock screenend showRMon addRM-- テ「ツクテァsテッ竏づゥテカテ‡テεッ¥テゥツカテ⑿テュツォテ「ツ。テ⒀テ‡ï」ソテゥツソテゥ{テ‡竏妥‡テˆrepeat with f = 1 to the number of lines of fld "Text"put "テ…ヒœ" after line f of fld "Text"end repeatif last char of fld "Text" is "テ…ヒœ" then delete last char of fld "Text"end addRMon deleteRM-- テ「ツクテァsテッ竏づゥテカテ‡テεョテ津ッ¥テゥツカテ⑿テァテ古ィテコテ⒀テ‡ï」ソテゥツソテゥ{テ‡竏妥‡テˆrepeat with l = 1 to the number of lines of fld "Text"if last char of line l of fld "Text" is "テ…ヒœ" then delete last char of line l of fld "Text"end repeatend deleteRMon showRulerLinesset checkMark of menuItem "テ嘉」テ…[テ嘉「テ…[テ⑥テァsテョ窶佚ァテ愿‡テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" to not the checkMark of menuItem "テ嘉」テ…[テ嘉「テ…[テ⑥テァsテョ窶佚ァテ愿‡テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ"if the checkMark of menuItem "テ嘉」テ…[テ嘉「テ…[テ⑥テァsテョ窶佚ァテ愿‡テεッ¥テゥツカ" of menu "竏ォナ凪\コニ抵ャ" is true thenset rect of fld "Text" to "22,14,512,342"elseset rect of fld "Text" to "0,0,512,342"end ifend showRulerLineson PRE-- テ影テ鵜テ厩テ曳テ‡ï」ソテュuテ‡ツエテ、竏妥‡ツカテ‡テ暗穎テ嘉ャテ栄テ嘉「global FindText,Replacementif the selectedText is not empty then get the selectedText else get FindTextask "テ・テシテァトアテ‡竏妥‡テ暗ッ竏づゥテカテウテ津⑦" with itif it is empty then exit to HyperCard else put it into FindTextif offset(FindText,fld "Text") is 0 thenbeepanswer "テ⑽" & FindText & "テ⑾テ‡テ陛ッ竏づィテォテ‡窶ヲテ、窶ケテ‡窶ケテ‡テ催‡ニ津‡ツ「テ‡窶ケテ‡マ\テ‡テ津③"exit to HyperCardend ifask "テュuテ‡ツエテ、竏妥‡ツカテ‡テ暗ッ竏づゥテカテウテ津⑦" with Replacementif it is empty then exit to HyperCard else put it into Replacementanswer "テ・テシテァトアテッ竏づゥテカテ⑦" & FindText & return & "テュuテ‡ツエテ、竏妥‡ツカテッ竏づゥテカテ⑦" ツャ& Replacement & return & return & "テ‡ツアテ‡テεッ竏づゥテカテウテ津‡ï」ソテ‡竏妥‡笳甘‡ニ津ュuテ‡ツエテ、竏妥‡ツカテ‡窶ケテ‡竏妥‡ツゥテ⑨" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","OK"if it is not "OK" then exit to HyperCard else setCursorToBusy-- テォツィテャxテ‡ï」ソテ・ツクティ窶榲‡竏妥‡テ暗‡ホゥテ‡ïャづ②テ「テ甘アツ テァXテェVテ‡ï」ソテ テ催ゥテサテャIテ‡窶ヲテュ窶堙ゥツャlock screenput (the number of chars of FindText - 1) into theEndrepeatif offset(FindText,fld "Text") is 0 or the mouseClick then exit repeatsetCursorToBusyput offset(FindText,fld "Text") into theStartput Replacement into char theStart to (theStart + theEnd) of fld "Text"end repeatend PREon TT-- テャツクテウテ陛榎テ韻テ嘉ャテ曳テ‡邃「テ液テ隠テ…[テ嘉」テ栄テャ窶。テ‡窶ヲテ‡窶 テ‡テ催‡ナ津②テゥテサテ、窶佚‡ï」ソテャツクテウテ陛‡竏妥‡テˆif the selectedChunk is not empty then type the long time else beepend TTon TD-- テャツクテウテ陛榎テ韻テ嘉ャテ曳テ‡邃「テ液テ隠テ…[テ嘉」テ栄テャ窶。テ‡窶ヲテ‡窶 テ‡テ催‡ナ津②テャヒ凖ッtテ‡ï」ソテャツクテウテ陛‡竏妥‡テˆif the selectedChunk is not empty then type the long date else beepend TDon OF-- テ影テ鵜テ厩テ曳テ⑴テ嘉、テ…[テ栄テ迂テ嘉ャテ嘉、テ…[テ液テ院テ韻テ嘉」テ‡ï」ソテャツォテ‡窶コテァテサテ‡ïャテ穎テ嘉ャテ栄テ嘉「global EditSaveFilename,FRManswer file "テ影テ鵜テ厩テ曳テ液テ院テ韻テ嘉」テ‡ï」ソテォIテォï」ソテ⑦" of type "TEXT","ttro"if it is empty then exit to HyperCard else put it into Filenameset cursor to watchput Filename into EditSaveFilenameget ReadFile(Filename)if the number of chars of it > 20000 thenbeepanswer "テッ竏づゥテカテェテョテ‡邃「テォホゥテ‡竏妥‡ツィテ‡テ暗‡ホゥテ‡ïャづ②テ、Jテ‡テ佚‡窶ケテ‡マ\テ‡テ津‡竕暗‡ツオテ‡ホゥテ③"exit to HyperCardend iflock screenput it into fld "Text"if FRM is true then addRMset itemDelimiter to ":"-- テャツォテ‡窶コテァテサテ‡テ津‡テヲテ液テ院テ韻テ嘉」テアツコテ‡ï」ソテ厩テ運テ叡テ丑テアツコテ‡窶ヲテ‡竏妥‡テ暗ィテ„テョトアテ‡ï」ソテ‡竏妥‡テˆset name of this card to last item of Filenameunlock screenenterInFieldopenCardend OFon Speakingget the voices-- テゥgテウpテ‡竕暗‡ツエテ‡テ暗「マ\テェ竏ォテ‡ï」ソテッ窶佚‡竏妥、テキテェテョテ…uvoicesテ…vテ‡邃「テ」テ崚‡ï」ソテッ窶佚‡竏妥‡竏†テ‡ツ「テ‡ツァテ‡ツアテ‡竏†テ‡テ陛②-- テ‡竏妥‡ツサテ‡テ古‡テクテ…uSpeech Managerテ…vテ」@テョ¥テ、gテュツ」テ‡邃「テ韻テ嘉ャテ厩テ曳テ…[テ嘉」テ‡竕・テ‡テ催‡ニ津‡ツ「テ‡ツサテ‡ツ「テ‡ツアテ‡竏†テ‡窶ヲテ‡ツサテ‡テˆif it is empty thenbeepanswer "テ…uSpeech Managerテ…vテ」@テョ¥テ、gテュツ」テ‡邃「テ韻テ嘉ャテ厩テ曳テ…[テ嘉」テ‡竕・テ‡テ催‡ニ津‡ツ「テ‡ツサテ‡ツ「テ‡ホゥテ‡ïャづ②テャツォテ‡窶コティ窶榲‡竏榲‡竕暗‡ツエテ‡窶ケテ‡マ\テ‡テ津⑩"exit to HyperCardend ifanswer "テッ竏づィテォテ‡ï」ソテャツォテ‡窶コティ窶榲‡竏榲‡窶ケテ‡竏妥‡ツゥテ⑨ テ‡ホゥテ‡テヲテ‡ツオテ②テ「pテッ竏づ‡テε‡窶コテ‡竕暗‡竏妥③" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","OK"if it is not "OK" then exit to HyperCardset cursor to watchrepeat with x = 1 to (the number of lines of fld "Text")select line x of fld "Text"speak line x of fld "Text"wait until the speech is "Done"end repeatstop speechend Speakingon FIglobal FindTextif the selectedText is not empty then get the selectedText else get FindTextask "テ・テシテァトアテ‡竏妥‡テ暗ッ竏づゥテカテウテ津⑦" with itif it is empty then exit to HyperCardput it into FindTextselect emptytype "Find string" && quote &FindText &quote & returnif the result is not empty then answer "テ⑽" &FindText& "テ⑾テ‡テ陛・ツゥテ‡ツャテ‡ツゥテ‡テ凝‡窶ケテ‡マ\テ‡テ津‡竕暗‡ツオテ‡ホゥテ③"else answer "テ嘉、テ運テ…[テ嘉ャテ鵜テ…[テ‡竕暗ゥテシテ‡ï」ソテ・テシテァトアテ‡竕暗‡ツエテ‡窶ケテ‡竏妥③"end FIon SF-- テァ竕暗・窶榲‡窶ヲテ、Jテ‡ツ「テ‡ホゥテ⑴テッ竄ャテォ竏づ‡邃「テォ竏づァ窶コテ‡竏妥‡テ暗‡ツサテ‡テテ‡ナ津②テァXテェVテ‡竏妥‡テ暗‡ツゥテ‡ï」ソテェqテ‡テ\テ‡テˆglobal EditSaveFilename,FRMlock screenset itemDelimiter to ":"if there is a file EditSaveFilename thenget last item of EditSaveFilenameanswer "ティテォテウïャテ⑦テ⑽" & it & "テ⑾" & return & "テッ竄ャテォ竏づッヒ堙ア@テ‡ï」ソテォIテォï」ソテ‡ツオテ‡ニ津‡竕 テ‡テヲテ‡竕・テ‡ツ「テ③" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","テッツ テアツコテッ竄ャテォ竏‚...","テァXテェV"if it is "テァXテェV" thenset cursor to watchif FRM is true then deleteRMWriteFile fld "Text",EditSaveFilenameif FRM is true then addRMset itemDelimiter to ":"set name of this card to last item of EditSaveFilenameexit SFelseif it is "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」" then exit to HyperCardend ifend ifget last item of EditSaveFilenameask file "テェVテ」Kテ液テ院テ韻テ嘉」テアツコテ⑦" with itif it is empty then exit to HyperCard else put it into EditSaveFilenameset cursor to watchput it into FNif FRM is true then deleteRMWriteFile fld "Text",FNif FRM is true then addRMset itemDelimiter to ":"set name of this card to last item of FNunlock screenopenCardend SFon openPICT-- PICTテ液テ院テ韻テ嘉」テ‡ï」ソテ、Jテ‡竕 テ穎テ嘉ャテ栄テ嘉「answer file "テ、Jテ‡竕 PICTテ液テ院テ韻テ嘉」テ‡ï」ソテォIテ‡テ津‡竕暗‡竕 テ‡テヲテ‡竕・テ‡ツ「テ⑦" of type "PICT"if it is empty then exit to HyperCard else picture it,file,zoom,,0end openPICTon PrintingdoMenu "Page Setup..."answer "テ テ崚ァツクテ‡ï」ソテ、Jテゥnテ‡ツオテ‡窶ケテ‡竏妥‡ツゥ?" with "テ鵜テ嘉嘉嘉ャテ瓜テ嘉」","OK"if it is "OK" then print fld "Text"end Printingon doMenu sel,sm-- SimpleWriteテ‡邃「テ、Jテ‡ツ「テ‡ニ津‡ツ「テ‡テ暗ィテ崚ォ窶佚‡竕ˆHyperCardテ‡ï」ソティIテウマ\テ‡竏妥‡テ暗ゥテサテ②-- テ…ucloseStackテ…vテ‡ï」ソテ・ニ津‡窶氾ィoテ‡竏妥‡テε‡テ陛ゥテサテ、窶佚‡邃「テ‡ツゥテ‡ツゥテ‡テ暗‡テε‡竕暗②テアツコテォOテ‡ï」ソテッナ禿ァXテ‡ツオテ‡ニ’-- テ…ucloseStackテ…vテ穎テ嘉ャテ栄テ嘉「テ‡ï」ソテ・ニ津‡窶氾ィoテ‡竕・テ‡ツサテ‡ツ「テ‡竕暗ィIテウマ\テ‡竏妥‡テˆif sel is "Quit HyperCard" thenset cursor to watchlock screenif fld "Text" is not empty thenbeepanswer "テ・ツェテァ窶コテ‡テεッ竏づィテォテ‡ï」ソテ テ催ゥテサテッ竄ャテォ竏づ‡ツオテ‡ニ津‡ツョテ‡ツエテ‡窶ケテ‡竏妥‡ツゥ?" with "テッ竄ャテォ竏づ‡ツオテ‡ツサテ‡ツ「","テッ竄ャテォ竏‚"if it is not "テッ竄ャテォ竏‚" then put empty into fld "Text"end ifset name of this stack to "SimpleWrite II"lock messagesend ifif sm is "Font" and the optionKey is down then setTextFont selif sm is "Style" and sel is a number and the optionKey is down then setTextSize selpass doMenuend doMenu-- Utilitie Scripts --on compactingStack-- テ厩テ運テ叡テ丑テ‡テεア竕・テォツ テ‡ツサテウeテウツ テ‡邃「テ厩テ運テ叡テ丑テォSテォテε‡テƒ10テ…テャテ‡ï」ソテ‡ツアテ‡ツカテ‡ホゥテ‡テテ厩テ運テ叡テ丑テ‡ï」ソテェテ†テウテケテ‡竏妥‡テˆif the freesize of this stack > 0.1 * the size of this stack thendoMenu "Compact Stack"end ifend compactingStackon setLine num-- テァsテッ¥テゥツカテ‡テεァsテェテョテ‡ï」ソテェ窶コテュテ凝‡竏妥‡テ暗穎テ嘉ャテ栄テ嘉「if num is not a number or num is empty or num < 1 thenbeepexit to HyperCardend iflock screenput empty into fld "Line"repeat with g = 1 to numsetCursorToBusyput g into line g of fld "Line"put g & "/" & numend repeatend setLinefunction ReadFile FileName-- テ影テ鵜テ厩テ曳テ液テ院テ韻テ嘉」テ‡ï」ソテャツォテ‡窶コテァテサテ‡テ津‡竕暗②テ‡ツェテ‡テεャ窶。テウeテ‡ï」ソテッ窶佚‡竏妥嘉愿…[テ蔚テ…[テュテ凝」`テ、テキテェテョopen file Filenameread from file Filename until eofclose file Filenamereturn itend ReadFileon WriteFile text,FileName-- テ影テ鵜テ厩テ曳テ液テ院テ韻テ嘉」テ‡ï」ソテァテ湘ェツィテ⑴ティテォテ‡ツエテァテサテ‡窶コテ‡竏妥‡テ暗嘘テ厭テ嘉ャテ栄テ穎テ嘉ャテ栄テ嘉「global FRMopen file FileNamewrite text to file FileNameclose file FileNameend WriteFile-- Checking Scripts --on checkErrors-- テ厩テ運テ叡テ丑テ 竅„テャテ†テ‡窶ヲテゥ竏湘ョsテ‡竏妥‡テ暗‡竏†テ…u竏ォナ凪\コニ抵ャテ…vテ嘉…テ泳テ嘉姪…[テ‡邃「テゥcテ‡ツ。テ‡ニ津‡ツオテ‡窶ケテ‡ツァテ‡テε‡竕暗②-- テ テ催「テサテ、mテョFテ‡竏妥‡テ暗ッKテウvテ‡邃「テ‡窶 テ‡テˆif there is a menu "竏ォナ凪\コニ抵ャ" thenbeepset cursor to watchreset menuBarend ifend checkErrorson checkVersions-- HyperCardテ‡竏†テ鰻テ厩テ影テ嘉„テ‡テε頴テ…[テ姥テ嘉。テ嘉ャテ‡ï」ソテュ竕、テ‡笳甘②テャテ†テァテ湘‡竕暗‡ツエテ‡テ暗、ツャテ」ツエテ‡ツゥテュ竕、テ‡笳甘‡テˆif "2.1" > the version thenbeepanswer "テ‡ツアテ‡テε厩テ運テ叡テ丑テ‡テ陛②HyperCard2.1テ ツサテァ~テ‡竕暗‡ツオテ‡ツゥテャテ†テ‡ツエテ‡窶ケテ‡マ\テ‡テ津⑩" with "ティIテウマ\"go Homeend ifif "7" > the systemVersion thenbeepanswer "テ‡ツアテ‡テε厩テ運テ叡テ丑テ‡テ陛②テ鰻テ厩テ影テ嘉„テ頴テ…[テ姥テ嘉。テ嘉ャテ㈽テ ツサテァ~テ‡竕暗‡ツオテ‡ツゥテャテ†テ‡ツエテ‡窶ケテ‡マ\テ‡テ津⑩" with "ティIテウマ\"go Homeend ifend checkVersionson checkMemory-- HyperCardテ‡テεゥgテ‡ツカテ‡テ暗」テ崚嘉…テ嘉‡テ嘉、テ‡ï」ソテ荏テ宇テ叡テ丑テ‡竏妥‡テˆif the heapSpace < 200000 then -- テ」テ崚嘉…テ嘉‡テ嘉、テ‡邃「200Kテ頴テ韻テ曳テ ツサテ「竏ォテ‡ツサテ‡テbeepanswer "HyperCardテ‡テε嘉…テ嘉‡テ嘉、テ‡邃「テッsテォツエテ‡ツィテ‡窶コテ‡竕暗‡竏妥③テ‡ツアテ‡テε‡窶ケテ‡窶ケテゥgテ‡ツ「テォツアテ‡テ佚‡テ暗‡竏†テ②テ鰻テ厩テ影テ嘉„テ烏テ嘉「テ…[テ‡窶堙液テ嘉、テ…[テ浦テ‡邃「テ」Nテ‡ツアテ‡テ暗‡ツゥテ‡窶。テ‡ツオテ‡テ催‡窶ケテ‡マ\テ‡テ津③" & ツャ"テ‡ツォテ‡ツァテ‡ツオテ‡窶ケテ‡竏妥‡ツゥ?" with "テォツアテァs","ティIテウマ\"if it is "ティIテウマ\" thenanswer "ティIテウマ\テ・窶榲②Finderテ‡竕ˆHyperCardテ‡テε、テ妥‡テ凝ャテアテ‡ニ津嘉…テ嘉‡テ嘉、テ‡ï」ソ200Kテ頴テ韻テ曳テ ツサティ窶榲ォテケテ‡窶堙‡ツオテ‡ニ津‡竕 テ‡テヲテ‡竕・テ‡ツ「テ③"set cursor to watchdoMenu "Quit HyperCard"elseanswer "テォツコテ‡テε厩テ運テ叡テ丑テ‡ï」ソテッツャテ‡竏づ‡テ暗‡ツサテ‡ツォテ‡ツオテ‡ニ津②HyperCardテ‡テε」テ崚嘉…テ嘉‡テ嘉、テ‡ï」ソテ‡竕暗‡ツエテ‡テ暗‡テヲテ‡テ佚ォテケテ‡窶堙‡竏妥‡テ甘‡ツァテャwテ‡ïャづ‡ニ津‡竕 テ‡テヲテ‡竕・テ‡ツ「テ③"end ifend ifend checkMemory-- Etc Scripts --on setCursorToBusy-- テ‡ツアテ‡テε穎テ嘉ャテ栄テ嘉「テ‡テ陛…uテ・ツゥテ‡ツゥテ‡テ佚…vテ‡ï」ソテウツォテ‡竕 テ‡竏妥‡テ暗‡ホゥテ‡ïャづ‡テヲテ‡テ佚‡テε‡窶。テ‡テε‡竕暗‡竏‘global cursorNumberif cursorNumber is empty or cursorNumber is 4 then put 0 into cursorNumber else add 1 to cursorNumberset cursor to "50" & cursorNumberend setCursorToBusyon setname xglobal QuitCheck-- テ…ucloseStackテ…vテ穎テ嘉ャテ栄テ嘉「テ‡テεァ竕暗・窶榲‡窶ヲテ・ニ津‡窶氾ィoテ‡竕・テ‡テ催‡テˆset name of this stack to "SimpleWrite II"put true into QuitCheckgo xend setnameon setTextFont theFont-- テァsテッ¥テゥツカテ⑴テ嘉」テ…[テ嘉「テ…[テ⑴テ嘉…テ韻テ嘉ャテ液テ隠テ…[テ嘉」テ栄テ‡テε影テ鵜テ厩テ曳テ液テ羽テ嘉ャテ曳テ‡ï」ソテェ窶コテュテ凝‡竏妥‡テ暗穎テ嘉ャテ栄テ嘉「lock screenset textFont of fld "Text" to theFontset textFont of fld "Ruler" to theFontset textFont of fld "Line" to theFontunlock screenend setTextFonton setTextSize theSize-- テァsテッ¥テゥツカテ⑴テ嘉」テ…[テ嘉「テ…[テ⑴テ嘉…テ韻テ嘉ャテ液テ隠テ…[テ嘉」テ栄テ‡テε影テ鵜テ厩テ曳テ欝テ韻テ浦テ‡ï」ソテェ窶コテュテ凝‡竏妥‡テ暗穎テ嘉ャテ栄テ嘉「lock screenset textSize of fld "Text" to theSizeset textSize of fld "Ruler" to theSizeset textSize of fld "Line" to theSizeunlock screenend setTextSizeon returnInField-- テ「ツクテァsテッ竏づゥテカテ‡テεッ¥テゥツカテ‡窶ヲテ、テキテ‡竏妥‡テ暗液テ隠テ…[テ嘉」テ栄テウpテ穎テ嘉ャテ栄テ嘉「global FRMif FRM is true then put "テ…ヒœ" &return into the selection else pass returnInFieldend returnInField</script>
  17.     <background id="2741" file="background_2741.xml" name="" />
  18.     <card id="3011" file="card_3011.xml" marked="false" name="" owner="2741" />
  19. </stack>
  20.